﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Portfolio.IViews.Common;
using Portfolio.BL.Articles;
using Portfolio.Entities;



namespace Portfolio.IViews.Admin
{
    public interface IAdminEditArticleView
    {
        event EventHandler<EventArgs> LoadArticle;
        event EventHandler<EventArgs> LoadCategories;
        event EventHandler<EventArgs> LoadStatus;
        event EventHandler<EventArgs> UpdateArticle;
        event EventHandler<EventArgs> InsertArticle;
        event EventHandler<EventArgs> InsertExitArticle;

        IList<ArtilcesGridV> ArticleDataBind { set; }

        int IdArticle { get; set; }        
        
        ArticleT AtriclesData { get; set; }

        DataSourceContainer CategoriesDataSource { set; }
        DataSourceContainer StatusDataSource { set; }

        bool IsArticleUpdated { get;  set; }
        bool IsArticleInsert { get;  set; }

        
        string PublishException { set; }
    }
}
